<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<title>Document</title>
</head>
<body>
	<script src="a.out.js"></script>
	<script>
		function createGLContext(){
			Module._createGLContext();
		}

		function destroyGLContext(){
			Module._destroyGLContext();
		}
	</script>
	<button onclick="createGLContext()">Create GL Context</button>
	<button onclick="destroyGLContext()">Destroy GL Context</button>
</body>
</html>